package com.doxiaopu.students.user.entity;

import com.doxiaopu.students.component.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description= "商家账户信息")
public class MerchantData extends BaseEntity {
    private static final long serialVersionUID = -3706298337715112611L;
    @ApiModelProperty(value = "商家账户id")
    private Integer id;
    private String tUserId; //商家id（外键）
    @ApiModelProperty(value = "余额")
    private Integer balance; //余额

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String gettUserId() {
        return tUserId;
    }

    public void settUserId(String tUserId) {
        this.tUserId = tUserId;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "MerchantData{" +
                "id=" + id +
                ", tUserId='" + tUserId + '\'' +
                ", balance=" + balance +
                '}';
    }
}
